//
//  DisThirdTableViewCell.m
//  LT
//
//  Created by dllo on 16/5/16.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "DisThirdTableViewCell.h"

@implementation DisThirdTableViewCell



-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubViews];
    }
    return self;
}

-(void)createSubViews{
    
    self.disLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, 100 * WIDTHCELL)];
    self.disLabel.text = @"查看更多特价折扣";
    self.disLabel.textColor = [UIColor cyanColor];
    //self.disLabel.backgroundColor = [UIColor whiteColor];

    self.disLabel.textAlignment = NSTextAlignmentCenter;
    self.disLabel.font = [UIFont systemFontOfSize:19];
    [self.contentView addSubview:self.disLabel];

    
}

-(void)layoutSubviews{
    [super layoutSubviews];
    self.disLabel.frame = CGRectMake(0* WIDTHCELL, 0* WIDTHCELL, self.contentView.frame.size.width * WIDTHCELL, 40* WIDTHCELL);
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
